home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoft Internet Strate…Tools for the Enterprise
/
Microsoft Internet Strategy & Tools for the Enterprise.iso
/
content
/
devel.tls
/
icp
/
vbsamp
/
uucode-d.exe
/
UUDEFS.BAS
< prev
next >
Wrap
BASIC Source File
|
1996-02-28
|
3KB
|
70 lines
Attribute VB_Name = "UUDefs"
Option Explicit
Public Const UURECLEN As Byte = 45 ' UU Encode input record len
Public Const UUDECRECLEN As Byte = 63 ' UU Decode input record len
Public Const UURECS = 40 ' UU Encode block size = 40 records
Public Const UUESINGLEFILE = 0 ' UU Encode contents to single file
Public Const UUBLOCKLEN = (UURECLEN * UURECS) ' Best Encode Block Length
Public Const UUDECBLOCKLEN = (UUDECRECLEN * UURECS) ' Best Decode Block Length
Public Const UUBASE = 32
Public Const UUBASEMASK = 127 ' UU code base bit mask
Public Const UUTERM = 96 ' UU Decode File Terminator...
Public Const BEGINHDR = "begin 644 " ' UU Encode File Begin Header
Public Const ENDHDR = "end" ' UU Encode File End Header
'--------------------------------------------------------
' Minimal MIME-Conformance Constants...
' ref. [RFC 1521]
'--------------------------------------------------------
'----- MIME Version -------------------------------------
Public Const MIMEVersion = "MIME-Version: 1.0"
'----- Content Description ------------------------------
Public Const MIMEContetnDescription = "Content-Description: "
'----- Content Type -------------------------------------
Public Const MIMEContentType = "Content-Type: "
Public Const MIME_App_OS = "application\Octet-Stream"
Public Const MIME_App_Post = "application\Postscript"
Public Const MIME_Image_JPEG = "image\JPEG"
Public Const MIME_Image_GIF = "image\GIF"
Public Const MIME_Image_BMP = "image\X-BMP"
Public Const MIME_Image_MPEG = "video\MPEG"
Public Const MIME_Audio_WAV = "audio\X-WAV"
Public Const MIME_Audio_VOC = "audio\X-VOC"
Public Const MIME_Text_ASCII = "text\plain"
Public Const MIME_CharSet = "charset"
Public Const MIME_Ascii = "us-ascii"
Public Const MIME_Name = "name="
Public Const MIME_Message = "message/partial"
Public Const MIME_Number = "number="
Public Const MIME_Total = "total="
Public Const MIME_Id = "id="
'----- Message ID ---------------------------------------
Public Const MIMEMessageID = "Message-ID: "
'----- Content Transfer Encoding ------------------------
Public Const MIMEContentTransferEncoding = "Content-Transfer-Encoding: "
Public Const MIME_UUEncode = "X-uuencode"
'----- Content Disposition ------------------------------
Public Const MIMEContentDisposition = "Content-Disposition: "
Public Const MIME_Attachment = "attachment"
Public Const MIME_FileName = "filename="
Public Const MIME = ""
'--------------------------------------------------------
'- Dll entry point
'--------------------------------------------------------
Sub main()
End Sub
'--------------------------------------------------------